<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>登录 - HiLover</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="login-container">
        <h2>登录</h2>
        <form id="loginForm">
            <div class="form-group">
                <input type="text" name="username" placeholder="用户名" required>
            </div>
            <div class="form-group">
                <input type="password" name="password" placeholder="密码" required>
            </div>
            <div class="form-group captcha-group">
                <input type="text" name="captcha" placeholder="验证码" required>
                <img src="/captcha" alt="验证码" onclick="this.src='/captcha?t='+new Date().getTime()">
            </div>
            <div class="form-group">
                <button type="submit">登录</button>
            </div>
            <div class="form-links">
                <a href="/register">还没有账号？立即注册</a>
            </div>
        </form>
    </div>
    <script src="/static/js/login.js"></script>
</body>
</html> 